hello good day, I have the following problem:
when I try to encode a video from mkv to mp4 by adding 2 subtitles to the video, as follow:
That way megui doesn't allow me to encode from mkv to mp4 and i get the following message:Code:LoadPlugin("C:\Program Files (x86)\MeGUI-2808-32\tools\avs\plugins\directshowsource.dll") DirectShowSource("E:\Tv Show\Reasonable Doubt\07\reasonable.doubt.2022.s01e07.1080p.web.h264-glhf.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001) #deinterlace #crop #resize #denoise LoadPlugin("C:\Program Files (x86)\MeGUI-2808-32\tools\avisynth_plugin\VSFilter.dll") TextSub("E:\Tv Show\Reasonable Doubt\07\Reasonable Doubt (2022) 1x07.srt", 1) TextSub("E:\logo.ass", 1)
[Attachment 67446 - Click to enlarge]
Here some error log of those jobs:
Code:[Error] Log for job2 (video, reasonable.doubt.2022.s01e07.1080p.web.h264-glhf.avs -> ) -[Information] [11/2/2022 1:47:03 PM] Started handling job -[Information] [11/2/2022 1:47:03 PM] Preprocessing --[Information] Bitrate calculation for video ---[Information] [11/2/2022 1:47:04 PM] Desired size after subtracting audio: 367742 KBs ---[Information] [11/2/2022 1:47:04 PM] Calculated desired bitrate: 984 kbit/s -[Information] [11/2/2022 1:47:04 PM] AviSynth input script --[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI-2808-32\tools\avs\plugins\directshowsource.dll") --[NoImage] DirectShowSource("E:\Tv Show\Reasonable Doubt\07\reasonable.doubt.2022.s01e07.1080p.web.h264-glhf.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001) --[NoImage] #deinterlace --[NoImage] #crop --[NoImage] #resize --[NoImage] #denoise --[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI-2808-32\tools\avisynth_plugin\VSFilter.dll") --[NoImage] TextSub("E:\Tv Show\Reasonable Doubt\07\Reasonable Doubt (2022) 1x07.srt", 1) --[NoImage] TextSub("E:\logo.ass", 1) -[Information] [11/2/2022 1:47:04 PM] resolution: 1920x1080 -[Information] [11/2/2022 1:47:04 PM] frame rate: 24000/1001 -[Information] [11/2/2022 1:47:04 PM] frames: 73402 -[Information] [11/2/2022 1:47:04 PM] aspect ratio (avs): 16:9 (1.778) -[Information] [11/2/2022 1:47:04 PM] Job command line: "C:\Program Files (x86)\MeGUI-2808-32\tools\x264\x264.exe" --pass 1 --bitrate 984 --stats "E:\Tv Show\Reasonable Doubt\07\reasonable.doubt.2022.s01e07.1080p.web.h264-glhf.stats" --keyint 240 --sar 1:1 --output NUL "E:\Tv Show\Reasonable Doubt\07\reasonable.doubt.2022.s01e07.1080p.web.h264-glhf.avs" -[Information] [11/2/2022 1:47:04 PM] Process started -[Information] [11/2/2022 1:47:04 PM] Standard output stream -[Information] [11/2/2022 1:47:04 PM] Standard error stream --[Information] [11/2/2022 1:47:05 PM] avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr) --[Information] [11/2/2022 1:47:05 PM] x264 [info]: using SAR=1/1 --[Information] [11/2/2022 1:47:05 PM] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 --[Information] [11/2/2022 1:47:05 PM] x264 [info]: profile Main, level 4.0 --[Information] [11/2/2022 2:04:07 PM] x264 [info]: frame I:833 Avg QP:18.80 size: 53846 --[Information] [11/2/2022 2:04:07 PM] x264 [info]: frame P:20766 Avg QP:22.33 size: 10504 --[Information] [11/2/2022 2:04:07 PM] x264 [info]: frame B:51803 Avg QP:24.53 size: 2020 --[Information] [11/2/2022 2:04:07 PM] x264 [info]: consecutive B-frames: 2.2% 6.6% 13.0% 78.1% --[Information] [11/2/2022 2:04:07 PM] x264 [info]: mb I I16..4: 74.0% 0.0% 26.0% --[Information] [11/2/2022 2:04:07 PM] x264 [info]: mb P I16..4: 14.4% 0.0% 0.0% P16..4: 21.8% 0.0% 0.0% 0.0% 0.0% skip:63.8% --[Information] [11/2/2022 2:04:07 PM] x264 [info]: mb B I16..4: 1.1% 0.0% 0.0% B16..8: 6.4% 0.0% 0.0% direct: 2.8% skip:89.7% L0:41.7% L1:52.3% BI: 6.0% --[Information] [11/2/2022 2:04:07 PM] x264 [info]: final ratefactor: 25.57 --[Information] [11/2/2022 2:04:07 PM] x264 [info]: coded y,uvDC,uvAC intra: 12.7% 30.3% 3.8% inter: 1.4% 4.1% 0.0% --[Information] [11/2/2022 2:04:07 PM] x264 [info]: i16 v,h,dc,p: 45% 28% 15% 12% --[Information] [11/2/2022 2:04:07 PM] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 21% 18% 7% 7% 6% 6% 6% 4% --[Information] [11/2/2022 2:04:07 PM] x264 [info]: i8c dc,h,v,p: 59% 20% 19% 2% --[Information] [11/2/2022 2:04:07 PM] x264 [info]: Weighted P-Frames: Y:0.5% UV:0.2% --[Information] [11/2/2022 2:04:07 PM] x264 [info]: kb/s:960.63 --[Information] [11/2/2022 2:04:07 PM] encoded 73402 frames, 136.24 fps, 960.63 kb/s -[Error] [11/2/2022 2:04:07 PM] Process exits with error: 3 -[Information] [11/2/2022 2:04:07 PM] Job completedBut for example if I only encode with 1 subtitle the video successfully converts from mkv to mp4.Code:[Error] Log for job2 (video, reasonable.doubt.2022.s01e07.1080p.web.h264-glhf.avs -> ) -[Information] [11/2/2022 1:10:43 PM] Started handling job -[Information] [11/2/2022 1:10:43 PM] Preprocessing --[Information] Bitrate calculation for video ---[Information] [11/2/2022 1:10:43 PM] Desired size after subtracting audio: 367742 KBs ---[Information] [11/2/2022 1:10:43 PM] Calculated desired bitrate: 984 kbit/s -[Information] [11/2/2022 1:10:43 PM] AviSynth input script --[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI-2808-32\tools\avs\plugins\directshowsource.dll") --[NoImage] DirectShowSource("E:\Tv Show\Reasonable Doubt\07\reasonable.doubt.2022.s01e07.1080p.web.h264-glhf.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001) --[NoImage] #deinterlace --[NoImage] #crop --[NoImage] #resize --[NoImage] #denoise --[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI-2808-32\tools\avisynth_plugin\VSFilter.dll") --[NoImage] TextSub("E:\Tv Show\Reasonable Doubt\07\Reasonable Doubt (2022) 1x07.srt", 1) --[NoImage] TextSub("E:\logo.ass", 1) -[Information] [11/2/2022 1:10:43 PM] resolution: 1920x1080 -[Information] [11/2/2022 1:10:43 PM] frame rate: 24000/1001 -[Information] [11/2/2022 1:10:43 PM] frames: 73402 -[Information] [11/2/2022 1:10:43 PM] aspect ratio (avs): 16:9 (1.778) -[Information] [11/2/2022 1:10:44 PM] Job command line: "C:\Program Files (x86)\MeGUI-2808-32\tools\x264\x264.exe" --pass 1 --bitrate 984 --stats "E:\Tv Show\Reasonable Doubt\07\reasonable.doubt.2022.s01e07.1080p.web.h264-glhf.stats" --keyint 240 --sar 1:1 --output NUL "E:\Tv Show\Reasonable Doubt\07\reasonable.doubt.2022.s01e07.1080p.web.h264-glhf.avs" -[Information] [11/2/2022 1:10:44 PM] Process started -[Information] [11/2/2022 1:10:44 PM] Standard output stream -[Information] [11/2/2022 1:10:44 PM] Standard error stream --[Information] [11/2/2022 1:10:45 PM] avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr) --[Information] [11/2/2022 1:10:45 PM] x264 [info]: using SAR=1/1 --[Information] [11/2/2022 1:10:45 PM] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 --[Information] [11/2/2022 1:10:45 PM] x264 [info]: profile Main, level 4.0 -[Error] [11/2/2022 1:22:36 PM] Process exits with error: 0xC0000409 STATUS_STACK_BUFFER_OVERRUN (-1073740791) -[Information] [11/2/2022 1:22:36 PM] Job completed
I have returned to work with megui after many years, in the past I encoded the way I am trying now and I did it very well, now I don't know if I am forgetting to configure or install something to be able to encode that way.
I hope you can help me and see together where the cause of the error could be.
+ Reply to Thread
Results 1 to 3 of 3
-
-
Directshowsource is not recommended, try Lsmash/LWLibavVideoSource or FFvideosource.
First, open your script as-is in Virtualdub2, set the video/compression and see if it works there -
You could also remux only your mkv to mp4, without recoding, and add your subtitles with clever FFmpeg-GUI.
[Attachment 67452 - Click to enlarge]
Similar Threads
-
MeGUI error.
By DocDomDoe in forum Newbie / General discussionsReplies: 9Last Post: 23rd Nov 2018, 03:11 -
MeGUI stopped encoding audio at 89%
By pooksahib in forum Video ConversionReplies: 5Last Post: 18th Oct 2018, 19:37 -
MeGUI has Stopped working (after starting Queue)
By digiraiter in forum Video ConversionReplies: 3Last Post: 2nd May 2018, 21:12 -
MeGUI has stopped working
By Bully9 in forum Video ConversionReplies: 5Last Post: 13th Apr 2018, 17:21 -
MEGUI Avisynth error pls help
By Ykefas in forum Newbie / General discussionsReplies: 4Last Post: 27th Jan 2018, 13:55